<!--
    Copyright 2010 Justin Lipton, Jonathan Rosenberg
    
    This file is part of MediaList.

    MediaList is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    MediaList is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with MediaList.  If not, see <http://www.gnu.org/licenses/>.
-->

<html>
    <script type="text/javascript" src="Register.js"></script>
    <body bgcolor=white>
        <h1>
            <div id="RegError" style="color:red"></div>
            <form onKeyPress="return submitenter(this, event, name1.value, password.value, password2.value, email1.value,
                    gender.value, month1.value, day1.value, year1.value, location1.value)"> 
                User Name:
                <input type="text" name="name1" />
                <br />
                Password(minimum 6 characters):
                <input type="password" name="password"  />
                <br />
                Password (verify):
                <input type="password" name="password2"  />
                <br />
                Email:
                <input type="text" name="email1"  />
                <br />
                Gender:
                <select name="gender">
                <option value="M">Male</option>  
                <option value="F">Female</option>  
                </select>
                <br />
                Birthday:
                <select name="month1">
                <option value="01">January</option>
                <option value="02">February</option>
                <option value="03">March</option>
                <option value="04">April</option>
                <option value="05">May</option>
                <option value="06">June</option>
                <option value="07">July</option>
                <option value="08">August</option>
                <option value="09">September</option>
                <option value="10">October</option>
                <option value="11">November</option>
                <option value="12">December</option>
                </select>
                <select name="day1">
                <option value="01">01</option>
                <option value="02">02</option>
                <option value="03">03</option>
                <option value="04">04</option>
                <option value="05">05</option>
                <option value="06">06</option>
                <option value="07">07</option>
                <option value="08">08</option>
                <option value="09">09</option>
                <option value="10">10</option>
                <option value="11">11</option>
                <option value="12">12</option>
                <option value="13">13</option>
                <option value="14">14</option>
                <option value="15">15</option>
                <option value="16">16</option>
                <option value="17">17</option>
                <option value="18">18</option>
                <option value="19">19</option>
                <option value="20">20</option>
                <option value="21">21</option>
                <option value="22">22</option>
                <option value="23">23</option>
                <option value="24">24</option>
                <option value="25">25</option>
                <option value="26">26</option>
                <option value="27">27</option>
                <option value="28">28</option>
                <option value="29">29</option>
                <option value="30">30</option>
                <option value="31">31</option>
                </select>
                Year <input type="text" name="year1"/>
                Location(max 50 char):
                <input type="text" name="location1"/>
                <br />
                <input type="button" name="register" value="Register"
                    onclick="Register(name1.value, password.value, password2.value, email1.value,
                    gender.value, month1.value, day1.value, year1.value, location1.value)" /> 
                <br />
            </form>
        </h1>
    </body>
</html>
        